package com.himiotech.core.project.web.system.monitor;

import com.himiotech.core.project.web.base.HimioBaseController;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * druid 监控
 *
 * @author ruoyi
 * @author wuwenbin
 */
@Controller
@RequestMapping("/monitor/data")
public class DruidController extends HimioBaseController {

    @RequiresPermissions("monitor:data:view")
    @GetMapping()
    public String index() {
        String prefix = "/druid";
        return redirect(prefix + "/index.html");
    }
}
